# 
# Usage: To re-create this platform project launch xsct with below options.
# xsct D:\gw50-work\GU203\gu203\new_gu203\latest_gu203_NoRTOS\platform.tcl
# 
# OR launch xsct and run below command.
# source D:\gw50-work\GU203\gu203\new_gu203\latest_gu203_NoRTOS\platform.tcl
# 
# To create the platform in a different location, modify the -out option of "platform create" command.
# -out option specifies the output directory of the platform project.

platform create -name {latest_gu203_NoRTOS}\
-hw {D:\gw50-work\GU203\20220225\gu203_top.xsa}\
-proc {microblaze_0} -os {standalone} -fsbl-target {psu_cortexa53_0} -out {D:/gw50-work/GU203/gu203/new_gu203}

platform write
platform generate -domains 
platform active {latest_gu203_NoRTOS}
bsp reload
bsp config stdin "axi_uart"
bsp write
platform generate
catch {platform remove new_gu203}
